POV-Ray : Newsgroups : povray.binaries.images : For Hugo. Irregular mesh smoothing idea. : Re: For Hugo. Irregular mesh smoothing idea. Server Time
16 Aug 2024 08:20:11 EDT (-0400)
  Re: For Hugo. Irregular mesh smoothing idea.  
From:
Date: 5 Mar 2002 10:01:53
Message: <g7n98u4uu4aqisuol998h2j3e3qip2i0or@4ax.com>
On Tue, 5 Mar 2002 09:02:46 -0800, "Shay" <shi### [at] houstonrrcom> wrote:
> Two pictures here. The first is a wire frame showing how the different
> vertices each have 2 to 8 triangles including them. The second is a picture
> of the smoothed mesh.

I have checked your source and found comment:
        // normalize the sums of the triangle normals
        // for each vertex to get the normal for the vertex
So I assume you use simple averaging of normals.
You can consider weighted averaging - look into my post at
http://news.povray.org/3a30d5ac%40news.povray.org

ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.